package com.sxfq.loansupermarket.backsystem.modular.basicData.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.SearchOfficialInfo;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.OfficialInfo;

import java.util.List;
import java.util.Map;

/**
 *
 * @author py
 * @Date 2019年2月19日23:15:54
 */
public interface IOfficialService {
    List<OfficialInfo> selectPageListByQueryGetMap(Page<OfficialInfo> page, SearchOfficialInfo info);

    OfficialInfo selectOneById(String OfficialId);

    OfficialInfo getPushContent();

    int updatePushContent(OfficialInfo info);

    int sendingContent(OfficialInfo info) throws Exception;

    int sendingContents(OfficialInfo info) throws Exception;

    int insert(OfficialInfo info);

    void delete(String id);

    int update(OfficialInfo info);

    List<Map<String,Object>>  list();
}